package admin

import (
	auto "{{ appName }}/app/{{ table.path }}/auto/controller"
	"beergo/app/{{ table.path }}/conf"
	"github.com/beego/beego/v2/server/web"
)

type {{ table.name }}MongoDbAdminController struct {
	auto.{{ table.name }}MongoDbController
}

func init() {
c := &{{ table.name }}Api{}
c.Prepare()
c.AddRoute("/get", c.GetAction)
c.AddRoute("/save", c.SaveAction)
c.AddRoute("/list", c.ListAction)
c.AddRoute("/delete", c.DeleteAction)
}
//func (this *{{ table.name }}MongoDbAdminController) Prepare() {}
//func (this *{{ table.name }}MongoDbAdminController) ListAction() {}
//func (this *{{ table.name }}MongoDbAdminController) GetAction() {}
//func (this *{{ table.name }}MongoDbAdminController) CreateAction() {}
//func (this *{{ table.name }}MongoDbAdminController) UpdateAction() {}
//func (this *{{ table.name }}MongoDbAdminController) PutAction() {}
//func (this *{{ table.name }}MongoDbAdminController) CopyAction() {}
//func (this *{{ table.name }}MongoDbAdminController) DeleteAction() {}
//func (this *{{ table.name }}MongoDbAdminController) ChoiceAction() {}
